package com.demarc.pesquisas.negocio.service.pesquisa;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demarc.pesquisas.negocio.dao.AbstractDAO;
import com.demarc.pesquisas.negocio.dao.PesquisaDAO;
import com.demarc.pesquisas.negocio.entidade.pesquisa.Pesquisa;
import com.demarc.pesquisas.negocio.service.AbstractService;

@Service
public class PesquisaService extends AbstractService<Pesquisa, Long> implements
		IPesquisaService {

	@Autowired
	private PesquisaDAO dao;

	@Override
	public AbstractDAO<Pesquisa, Long> getDAO() {
		return dao;
	}

	// Gets and sets
	public PesquisaDAO getDao() {
		return dao;
	}

	public void setDao(PesquisaDAO dao) {
		this.dao = dao;
	}
}
